class SettingState {
  String appSize = "0 B";

  /// 获取认证状态文字
  String getVerifyStatusText(String? realNameStatus) {
    if (realNameStatus == null) {
      return "去认证";
    } else if (realNameStatus.toString() == "0") {
      return "等待审核";
    } else if (realNameStatus.toString() == "1") {
      return "已认证";
    } else if (realNameStatus.toString() == "2") {
      return "认证失败";
    } else if (realNameStatus.toString() == "3") {
      return "实名信息已过期，请重新认证";
    } else {
      return "";
    }
  }
}
